﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.VRDD.OutputDto._0730
{
    /// <summary>
    ///  获取我的店铺
    /// </summary>
    public class OutputMyFloder
    {
        /// <summary>
        ///  目录id
        /// </summary>
        public int folder_id { get; set; }
        /// <summary>
        ///  目录名称
        /// </summary>
        public string folder_name { get; set; }
        /// <summary>
        ///  目录缩略图
        /// </summary>
        public string folder_url { get; set; }
        /// <summary>
        ///  path
        /// </summary>
        public string folder_path { get; set; }
        /// <summary>
        ///  该课程（包括子目录）下的作品总数
        /// </summary>
        public int work_num { get; set; }
        /// <summary>
        ///  该课程（包括子目录）下有体验记录的作品数合计
        /// </summary>
        public int record_work_num { get; set; }
        /// <summary>
        ///  该课程（包括子目录）下的作品体验次数合计
        /// </summary>
        public int record_num { get; set; }
        /// <summary>
        ///  该课程（包括子目录）下的作品体验时长合计
        /// </summary>
        public int record_time { get; set; }
        /// <summary>
        ///  正确数
        /// </summary>
        public int ok_num { get; set; }
        /// <summary>
        ///  错误数
        /// </summary>
        public int error_num { get; set; }
        /// <summary>
        ///  该课程（包括子目录）下的答题正确率
        /// </summary>
        public decimal record_rate { get; set; }
    }
    public class MyFloderModel
    {
        /// <summary>
        ///  目录id
        /// </summary>
        public int folder_id { get; set; }
        /// <summary>
        ///  目录名称
        /// </summary>
        public string folder_name { get; set; }
        /// <summary>
        ///  目录缩略图
        /// </summary>
        public string folder_url { get; set; }
        /// <summary>
        ///  path
        /// </summary>
        public string folder_path { get; set; }
        /// <summary>
        ///  登录用户是否对目录已收藏
        /// </summary>
        public bool isHold { get; set; }
        /// <summary>
        ///  登录用户是否对目录已点赞
        /// </summary>
        public bool isStar { get; set; }
        /// <summary>
        ///  店铺简介
        /// </summary>
        public string folderNote { get; set; }
        /// <summary>
        ///  原始店铺角色
        /// </summary>
        public string store_type { get; set; }
        /// <summary>
        ///  店铺角色列表：获取用户在该店铺的人员角色的字符串列表
        /// </summary>
        public List<string> roleList { get; set; }
        /// <summary>
        ///  收藏次数
        /// </summary>
        public int holdNum { get; set; }
        /// <summary>
        ///  点赞次数
        /// </summary>
        public int starNum { get; set; }
        /// <summary>
        ///  是否已启用合伙人
        /// </summary>
        public bool partnerEnabled { get; set; }
        /// <summary>
        ///  创始人名
        /// </summary>
        public string founderName { get; set; }
        /// <summary>
        ///  创始人id
        /// </summary>
        public int founderID { get; set; }
        /// <summary>
        ///  合伙人状态【100=用户是创始人；-1=未申请；0=待审批；1=已通过；2=未通过】
        /// </summary>
        public int partnerStatus { get; set; }
        /// <summary>
        ///  商品列表
        /// </summary>
        public List<MyFloderGoodsList> fileList { get; set; }
    }
    /// <summary>
    ///  店铺商品
    /// </summary>
    public class MyFloderGoodsList
    {
        /// <summary>
        ///  商品id
        /// </summary>
        public int fileID { get; set; }
        /// <summary>
        ///  商品名称
        /// </summary>
        public string fileName { get; set; }
        /// <summary>
        ///  商品简介
        /// </summary>
        public string fileNote { get; set; }
        /// <summary>
        ///  商品横向缩略图
        /// </summary>
        public string fileImage { get; set; }
        /// <summary>
        ///  商品价格（原始价）
        /// </summary>
        public decimal filePrice { get; set; }
    }
}